package com.ruoyi.hazard.domain.qo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.utils.SecurityUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel("隐患通知信息查询对象")
public class HazardAlarmRecordQo extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "主键")
    private Long id;
    @ApiModelProperty(value = "通知状态 false-未读，true-已读")
    private Boolean handled;
    @ApiModelProperty(value = "通知类型")
    private String type;
    @ApiModelProperty(value = "通知时间开始日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date receiveTimeStart;
    @ApiModelProperty(value = "通知时间结束日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date receiveTimeEnd;
    @ApiModelProperty(value = "处理开始日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date handTimeStart;
    @ApiModelProperty(value = "处理结束日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date handleTimeEnd;
    @ApiModelProperty(value =   "隐患序号")
    private String hazardId;
    @ApiModelProperty(value = "登录人(系统自动赋值当前登录人)")
    public String createBy;
}
